graphlayout module

class sd.tools.graphlayout.AlignmentDirection

Bases: object

Horizontal = 0
Vertical = 1
sd.tools.graphlayout.alignSDNodes(aSDNodes, aAlignDirection=0, aSDNodeSpace=96.0)

Align the specified SDNodes :param aSDNodes: A list of SDNode objects :param aAlignDirection: The alignment direction :param aSDNodeSpace: The space between nodes :return: None

sd.tools.graphlayout.snapSDNodes(aSDNodes, aSnapSize=32.0)

Align the specified SDNodes :param aSDNodes: A list of SDNode objects :param aSnapSize: The snap size :return: None